package org.cheniy.domain.strategy.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cheniy
 * @description 规则物料实体对象，用于过滤规则的必要的参数信息
 * @create 2025/3/6 12:13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RuleMatterEntity {

    /** 抽奖策略ID */
    private Long strategyId;
    /** 抽奖奖品ID - 内部流转使用 */
    private String userId;
    /** 抽奖规则类型【rule_random-随机值计算、rule_lock -抽奖几次后解锁、rule_luck_award幸运奖(兜底奖品) */
    private String ruleModel;
    /** 抽奖奖品ID【规则类型为策略，则不需要奖品ID】 */
    private Integer awardId;
}
